package com.guigu.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.community.pojo.Merchants;
import com.guigu.community.vo.MerchantsVo;

import java.util.List;

public interface MerchantsMapper extends BaseMapper<Merchants> {
    //查询所商户，商户状态为已审核，和营业状态为营业的
    List<Merchants> selectMerchants(MerchantsVo vo);

    // 查询符合条件的商户数量
    List<Merchants> selectMerchantsCount(MerchantsVo vo);

    List<Merchants> selectByVo2(MerchantsVo vo);

}
